package com.situ.orderingsystem.service;

import com.situ.orderingsystem.model.Employee;
import com.situ.orderingsystem.model.EmployeeSerchBean;
import com.situ.orderingsystem.model.Order;
import com.situ.orderingsystem.model.OrderSearchBean;
import com.situ.orderingsystem.utils.PaginateInfo;

import java.util.List;

public interface OrderService {
    List<Order> findAll(OrderSearchBean eb, PaginateInfo pi);
    List<Order> findAll();
    int deleteByIds(Integer[] ids);
    boolean save(Order order);

    Order searchById(Integer id);
    boolean update(Order order);
}
